package com.coffee.websocket.handler;


import com.coffee.websocket.command.MochaBinaryParam;
import com.coffee.websocket.MochaWebsocketException;
import com.coffee.websocket.metadata.MochaBasicBinaryMessage;

/**
 * 字节 命令处理
 *
 * @param <T>
 */
public interface MochaBinaryHandler<T extends MochaBasicBinaryMessage> {

    void handle(MochaBinaryParam<T> command) throws MochaWebsocketException;

}
